package com.sgxy.wmservice.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author testjava
 * @since 2022-04-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WmGoods对象", description="")
public class GoodsVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "规格/单位")
    private String unit;

    @ApiModelProperty(value = "类别id")
    private String typeId;
    @ApiModelProperty(value = "类别名")
    private String typeName;

    @ApiModelProperty(value = "单价")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "生产日期")
    private Date goodsMakeDate;

    @ApiModelProperty(value = "保质期")
    private Date goodsOverDate;




}
